package br.com.lajeslaboratorio.lajesweb.controller;

import java.io.Serializable;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

import br.com.lajeslaboratorio.lajesweb.util.PropertiesUtil;

@ManagedBean
@SessionScoped
public class NewsController extends GenericController implements Serializable {
	
	/**
	 * Generated Serial Version UID
	 */
	private static final long serialVersionUID = -467860969357147114L;

	private String newsOneTitle;
	private String newsOneDescription;
	private String newsTwoTitle;
	private String newsTwoDescription;
	private String newsThreeTitle;
	private String newsThreeDescription;
	
	public NewsController() {
		setNewsOneTitle(PropertiesUtil.getMessageFromKey("NEWSONETITLE"));
		setNewsOneDescription(PropertiesUtil.getMessageFromKey("NEWSONEDESCRIPTION"));
		
		setNewsTwoTitle(PropertiesUtil.getMessageFromKey("NEWSTWOTITLE"));
		setNewsTwoDescription(PropertiesUtil.getMessageFromKey("NEWSTWODESCRIPTION"));
		
		setNewsThreeTitle(PropertiesUtil.getMessageFromKey("NEWSTHREETITLE"));
		setNewsThreeDescription(PropertiesUtil.getMessageFromKey("NEWSTHREEDESCRIPTION"));
	}

	public String getNewsOneTitle() {
		return newsOneTitle;
	}

	public void setNewsOneTitle(String newsOneTitle) {
		this.newsOneTitle = newsOneTitle;
	}

	public String getNewsOneDescription() {
		return newsOneDescription;
	}

	public void setNewsOneDescription(String newsOneDescription) {
		this.newsOneDescription = newsOneDescription;
	}

	public String getNewsTwoTitle() {
		return newsTwoTitle;
	}

	public void setNewsTwoTitle(String newsTwoTitle) {
		this.newsTwoTitle = newsTwoTitle;
	}

	public String getNewsTwoDescription() {
		return newsTwoDescription;
	}

	public void setNewsTwoDescription(String newsTwoDescription) {
		this.newsTwoDescription = newsTwoDescription;
	}

	public String getNewsThreeTitle() {
		return newsThreeTitle;
	}

	public void setNewsThreeTitle(String newsThreeTitle) {
		this.newsThreeTitle = newsThreeTitle;
	}

	public String getNewsThreeDescription() {
		return newsThreeDescription;
	}

	public void setNewsThreeDescription(String newsThreeDescription) {
		this.newsThreeDescription = newsThreeDescription;
	}
}
